package com.zls.commonutil;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by oop on 2018/4/4.
 */

public class Texty {

    public static <T> List<T> getList(T ... args){
        if(args.length == 0){
            return null;
        }

        List<T> list = new ArrayList<>();
        for (T t : args){
            list.add(t);
        }
        return list;
    }

}
